#pragma once
#include "../lib/thread-pool/include/BS_thread_pool.hpp"
#include "log.h"
#include <fstream> //Для работы с файлами
#include <string>

class file_password {
private:
  std::ifstream file;
  log_out *logging;
  BS::thread_pool pool;

public:
  file_password(const std::string &file_name, log_out *logging, int thread_max);
  void line_read_password(const std::string &host, const std::string &user,
                          int port, bool method_user_password = false);
  ~file_password();
};
